package com.snowcattle.game.service.message.factory;

import com.snowcattle.game.service.message.AbstractNetMessage;

/**
 * 协议工厂
 */
public interface ITcpMessageFactory {

    AbstractNetMessage createCommonErrorResponseMessage(int serial, int state, String tip);

    AbstractNetMessage createCommonErrorResponseMessage(int serial, int state);

    AbstractNetMessage createCommonResponseMessage(int serial);
}
